﻿<table width="210" border="0" cellpadding="0" cellspacing="0" class="about_m">
        <tr>
          <td width="20" align="center"><img src="images/ico1.jpg" width="4" height="12" /></td>
          <td align="left">产品搜索<span class="tt_gary">Search</span></td>
        </tr>
      </table>
      <table width="80%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
		 <form id="form1" name="form1" method="post" action="products.php">
            <tr>
              <td height="26" align="left"><span class="Right_td">
                <select name="ClassID" id="ClassID">
                  <option value="">请选择类型</option>
                  <?   
             $SQL="SELECT * FROM Netsys_Product_Class order by ClassOrder Asc";
             $query=mysql_query($SQL);
			 $num=mysql_num_rows($query);
			 if($num!=0){
             while($row=mysql_fetch_array($query)){
        ?>
                  <option value="<? echo $row['ClassID'];?>"><? echo $row['ClassName'];?></option>
                  <?
  }
  }
  else
  {
?>
                  <option value="暂无分类">暂无分类</option>
                  <?
}
?>
                </select>
              </span></td>
            </tr>
            <tr>
              <td height="26" align="left"><input type="text" name="KeyWord" style="width:160px;" id="KeyWord" /></td>
              </tr>
            <tr>
              <td height="26" align="center"><input  name="button2" type="image" id="button2" value="提交" src="images/search2.jpg" /></td>
              </tr>
			  </form>
          </table></td>
        </tr>
      </table>